import request from '@/utils/request';
import { stringify } from 'qs';

// 获取快递公司列表
export function saveOrderAddress(params) {
    return request('/new-oms/order/updateDeliveryInfo', {
        method: "post",
        data: params,
    });
}

export function getLogData(params) {
    return request(`/blade-log/newSystemOrder/operationLog/list?${stringify(params)}`);
}

// 更改备注信息
export function updateRemarkInfo(data) {
    return request('/new-oms-ec/order/updateRemarkInfo', {
        method: 'post',
        data
    });
}

//输入运单号并发货
export async function inputLogisticsNoAndSendOp(params) {
	return request(`/new-oms-ec/orderlogistics/inputLogisticsNoAndSend`, {
		method: "post",
		data: params
	});
}
